package com.example.mvptest;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface JokerApi {
//    https://www.wanandroid.com/article/list/1/json
    @GET("article/list/{pageNum}/json")
    Observable <JokeBean> getJoke(@Path("pageNum") String pageNum);
}
